package com.wmz.crm.commons.entity;

public class ReturnObject {
    private String  code;
    private String message;
    private Object retObj;

    @Override
    public String toString() {
        return "ReturnObject{" +
                "code='" + code + '\'' +
                ", message='" + message + '\'' +
                ", retObj=" + retObj +
                '}';
    }

    public Object getRetObj() {
        return retObj;
    }

    public void setRetObj(Object retObj) {
        this.retObj = retObj;
    }

    public ReturnObject(String code, String message, Object retObj) {
        this.code = code;
        this.message = message;
        this.retObj = retObj;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public ReturnObject(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public ReturnObject() {
    }
}
